package top.fangw.common.core.annotation;

import top.fangw.common.core.enums.TrimType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @description: 用于标记需要去除前后空格的字段
 * @author: fgw
 * @createDate: 2024/4/26
 */
@Target({ElementType.METHOD, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface TrimString {
    TrimType value() default TrimType.TRIM;
}
